package com.mp.ipm2020.mbg.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Date;

/**
 * @Auther adidasshe@mp.cn
 * <p>
 * 查询所有设备最新信息返回对象
 */
@Getter
@Setter
public class DeviceInfoData {
    @ApiModelProperty(value = "A相电压")
    private Double voltage1;

    @ApiModelProperty(value = "B相电压")
    private Double voltage2;

    @ApiModelProperty(value = "C相电压")
    private Double voltage3;

    @ApiModelProperty(value = "A相电流")
    private Double current1;

    @ApiModelProperty(value = "B相电流")
    private Double current2;

    @ApiModelProperty(value = "C相电流")
    private Double current3;

    @ApiModelProperty(value = "一路漏电电流")
    private Double leakageCurrent1;

    @ApiModelProperty(value = "二路漏电电流")
    private Double leakageCurrent2;

    @ApiModelProperty(value = "三路漏电电流")
    private Double leakageCurrent3;

    @ApiModelProperty(value = "一路空气开关")
    private Integer switch1;

    @ApiModelProperty(value = "二路空气开关")
    private Integer switch2;

    @ApiModelProperty(value = "三路空气开关")
    private Integer switch3;

    @ApiModelProperty(value = "三相不平衡状态")
    private Double unbalancedState1;

    @ApiModelProperty(value = "功率因数")
    private Double powerFactor1;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "设备ID")
    private String deviceId;

    @ApiModelProperty(value = "设备名（变压器名）")
    private String deviceName;

    @ApiModelProperty(value = "设备描述")
    private String deviceDesc;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;

    @ApiModelProperty(value = "设备地址")
    private String address;

}
